package com.easydisk.file.model.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddFolderReq {

    /**
     * 父级ID
     */
    @NotNull(message = "父id不能为空")
    private Long parentId;

    /**
     * 文件夹名称
     */
    @NotBlank(message = "文件夹名称不能为空")
    private String folderName;

}
